require('chromedriver');
import { Options,Driver } from 'selenium-webdriver/chrome';


let options = new Options();
// options.setMobileEmulation({deviceName:"iPhone X"});
options.addArguments("user-data-dir=/Users/zackzhao/Library/Application\ Support/Google/Chrome/Default/")
// options.windowSize({width:500,height:1000});

let driver = Driver.createSession(options);
driver.get('https://cn.bing.com');